<?php
/**
 * @property Payment $data
 */
?>
<?php if (!empty($data->paymentApplications)): ?>
	<?php foreach ($data->paymentApplications as $paymentApplication): ?>
		<div>
			<?php echo CHtml::link("#" . $paymentApplication->invoice->invoice_number, array("invoice/view", "id" => $paymentApplication->invoice_id), array("class" => "blue link")); ?>
			<!--(<?php echo Yii::app()->numberFormatter->formatCurrency($paymentApplication->amount, $data->currency_code); ?>)-->
		</div>
	<?php endforeach; ?>
<?php endif; ?>

